Carbon


StdText

Header: QuickdrawText.h Carbon status: Supported

QuickDraw’s standard low-level function for drawing text.

void StdText (
    SInt16 count, 
    const void *textAddr, 
    Point numer, 
    Point denom
);
Parameter descriptions
count

The number of bytes of text to draw.

textAddr

A memory structure containing the text to draw.

numer

Scaling numerator.

denom

Scaling denominator.

DISCUSSION

The StdText function draws text from the arbitrary structure in memory specified by the textBuf parameter, starting from the first byte and continuing for the number of bytes specified in the byteCount parameter. The numer and denom parameters specify the scaling factor: numer.v over denom.v gives the vertical scaling, and numer.h over denom.h gives the horizontal scaling factor.

You should only call this low-level function from your customized QuickDraw functions.

SPECIAL CONSIDERATIONS

The StdText function may move or purge memory blocks in the application heap; do not call this function at interrupt time.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)